/**
 *上海交大-鹏越惊虹
 */

package org.infosec.lc.exercises.databases.mysql;

import org.infosec.lc.exercises.ImportSpringContext;

/**  
 * @Title: MySql.java
 * @Package org.infosec.lc.exercises.databases.MySql
 * @Description: TODO
 * @author 林超 
 * @date Apr 9, 2013 10:36:30 AM
 * @version V1.0  
 */
public class MySql {

	/**
	 * @Title: main
	 * @Description: TODO
	 */
	public static void main(String[] args) {
		
		MySqlDao msd = (MySqlDao) ImportSpringContext.ctx.getBean("mysqldao");
		
		msd.getAppDb();
		msd.getDataBase();//可以不用写数据库实例名,ip\port\name\pw输入正确即可

	}

}
/**Code End*/